package com.hns.can.master.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hns.can.common.entity.BaseEntity;
import com.hns.tool.pub.PubUtil;

/**
 * @版权：HNS 版权所有 (c) 2013
 * @author:JeffXu
 * @version Revision 1.0.0
 * @email:835264047@qq.com
 * @see:
 * @创建日期：2014-12-3
 * @功能说明：
 * @begin
 * @修改记录:
 * @修改后版本          修改人      	修改内容
 * @2014-12-3  	         JeffXu        	创建
 * @end
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_BTERY_MANAGE_STM_INFO")
public class CommBteryManageStmInfoEntity extends BaseEntity {
    
    @Id
    @Column(name = "RCRD_ID")
    private String             rcrdId;
    @Column(name = "CORP_ID")
    private String             corpId;
    @Column(name = "ORGAN_ID")
    private String             organId;
    @Column(name = "LINE_ID")
    private String             lineId;
    @Column(name = "CAR_ID")
    private String             carId;
    @Column(name = "DRV_ID")
    private String             drvId;
    @Column(name = "RCRD_TIME")
    private String             rcrdTime;
    @Column(name = "RCRD_JRNL_NO")
    private String             rcrdJrnlNo;
    @Column(name = "EQMT_CODE")
    private String             eqmtCode;
    @Column(name = "LIC_PLT_NO")
    private String             licPltNo;
    @Column(name = "LINE_CODE")
    private String             lineCode;
    @Column(name = "CAR_TYPE")
    private String             carType;
    @Column(name = "LO_LGT")
    private BigDecimal         loLgt;
    @Column(name = "LO_LTT")
    private BigDecimal         loLtt;
    @Column(name = "LO_DRC")
    private BigDecimal         loDrc;
    @Column(name = "GEN_TIME")
    private Date               genTime;
    @Column(name = "TOTAL_MILE")
    private BigDecimal         totalMile;
    @Column(name = "SOC")
    private BigDecimal         soc;
    @Column(name = "TOTAL_VTG")
    private BigDecimal         totalVtg;
    @Column(name = "TOTAL_ELT_CRT")
    private BigDecimal         totalEltCrt;
    @Column(name = "BTERY_ST")
    private String             bterySt;
    @Column(name = "HIGHEST_VTG_BOXNO")
    private String             highestVtgBoxno;
    @Column(name = "HIGHEST_VTG_INBOX_LO")
    private String             highestVtgInboxLo;
    @Column(name = "HIGHEST_BTERY_VTG")
    private BigDecimal         highestBteryVtg;
    @Column(name = "LOWEST_VTG_BOXNO")
    private String             lowestVtgBoxno;
    @Column(name = "LOWEST_VTG_INBOX_LO")
    private String             lowestVtgInboxLo;
    @Column(name = "LOWEST_BTERY_VTG")
    private BigDecimal         lowestBteryVtg;
    @Column(name = "AVRG_BTERY_VTG")
    private BigDecimal         avrgBteryVtg;
    @Column(name = "HIGHEST_TEPT_BOXNO")
    private String             highestTeptBoxno;
    @Column(name = "HIGHEST_TEPT_INBOX_LO")
    private String             highestTeptInboxLo;
    @Column(name = "HIGHEST_TEPT")
    private BigDecimal         highestTept;
    @Column(name = "LOWEST_TEPT_BOXNO")
    private String             lowestTeptBoxno;
    @Column(name = "LOWEST_TEPT_INBOX_LO")
    private String             lowestTeptInboxLo;
    @Column(name = "LOWEST_TEPT")
    private BigDecimal         lowestTept;
    @Column(name = "AVRG_BTERY_TEPT")
    private BigDecimal         avrgBteryTept;
    @Column(name = "SPD_OF_MOT_VHI")
    private BigDecimal         spdOfMotVhi;
    @Column(name = "IGNI_SWTC")
    private String             igniSwtc;
    @Column(name = "RESERVED_FIELD_1")
    private BigDecimal         reservedField1;
    @Column(name = "RESERVED_FIELD_2")
    private BigDecimal         reservedField2;
    @Column(name = "RESERVED_FIELD_3")
    private BigDecimal         reservedField3;
    @Column(name = "RESERVED_FIELD_4")
    private BigDecimal         reservedField4;
    @Column(name = "RESERVED_FIELD_5")
    private String             reservedField5;
    @Column(name = "RESERVED_FIELD_6")
    private String             reservedField6;
    @Column(name = "RESERVED_FIELD_7")
    private String             reservedField7;
    @Column(name = "RESERVED_FIELD_8")
    private String             reservedField8;
    
    // -------------------------------------
    public static final String TABLENAME = "T_COMM_BTERY_MANAGE_STM_INFO";
    
    // -------------------------------------
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        
        CommBteryManageStmInfoEntity other = (CommBteryManageStmInfoEntity) obj;
        
        if ((PubUtil.isEmpty(this.corpId) && PubUtil.isNotEmpty(other.corpId)) || !this.corpId.equals(other.corpId)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.eqmtCode) && PubUtil.isNotEmpty(other.eqmtCode)) || !this.eqmtCode.equals(other.eqmtCode)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.rcrdTime) && PubUtil.isNotEmpty(other.rcrdTime)) || !this.rcrdTime.equals(other.rcrdTime)) {
            return false;
        }
        
        return true;
    }
    
    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    public String getCarType() {
        return this.carType;
    }
    
    public void setCarType(String carType) {
        this.carType = carType;
    }
    
    public BigDecimal getLoLgt() {
        return this.loLgt;
    }
    
    public void setLoLgt(BigDecimal loLgt) {
        this.loLgt = loLgt;
    }
    
    public BigDecimal getLoLtt() {
        return this.loLtt;
    }
    
    public void setLoLtt(BigDecimal loLtt) {
        this.loLtt = loLtt;
    }
    
    public BigDecimal getLoDrc() {
        return this.loDrc;
    }
    
    public void setLoDrc(BigDecimal loDrc) {
        this.loDrc = loDrc;
    }
    
    public Date getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }
    
    public BigDecimal getTotalMile() {
        return this.totalMile;
    }
    
    public void setTotalMile(BigDecimal totalMile) {
        this.totalMile = totalMile;
    }
    
    public BigDecimal getSoc() {
        return this.soc;
    }
    
    public void setSoc(BigDecimal soc) {
        this.soc = soc;
    }
    
    public BigDecimal getTotalVtg() {
        return this.totalVtg;
    }
    
    public void setTotalVtg(BigDecimal totalVtg) {
        this.totalVtg = totalVtg;
    }
    
    public BigDecimal getTotalEltCrt() {
        return this.totalEltCrt;
    }
    
    public void setTotalEltCrt(BigDecimal totalEltCrt) {
        this.totalEltCrt = totalEltCrt;
    }
    
    public String getBterySt() {
        return this.bterySt;
    }
    
    public void setBterySt(String bterySt) {
        this.bterySt = bterySt;
    }
    
    public String getHighestVtgBoxno() {
        return this.highestVtgBoxno;
    }
    
    public void setHighestVtgBoxno(String highestVtgBoxno) {
        this.highestVtgBoxno = highestVtgBoxno;
    }
    
    public String getHighestVtgInboxLo() {
        return this.highestVtgInboxLo;
    }
    
    public void setHighestVtgInboxLo(String highestVtgInboxLo) {
        this.highestVtgInboxLo = highestVtgInboxLo;
    }
    
    public BigDecimal getHighestBteryVtg() {
        return this.highestBteryVtg;
    }
    
    public void setHighestBteryVtg(BigDecimal highestBteryVtg) {
        this.highestBteryVtg = highestBteryVtg;
    }
    
    public String getLowestVtgBoxno() {
        return this.lowestVtgBoxno;
    }
    
    public void setLowestVtgBoxno(String lowestVtgBoxno) {
        this.lowestVtgBoxno = lowestVtgBoxno;
    }
    
    public String getLowestVtgInboxLo() {
        return this.lowestVtgInboxLo;
    }
    
    public void setLowestVtgInboxLo(String lowestVtgInboxLo) {
        this.lowestVtgInboxLo = lowestVtgInboxLo;
    }
    
    public BigDecimal getLowestBteryVtg() {
        return this.lowestBteryVtg;
    }
    
    public void setLowestBteryVtg(BigDecimal lowestBteryVtg) {
        this.lowestBteryVtg = lowestBteryVtg;
    }
    
    public BigDecimal getAvrgBteryVtg() {
        return this.avrgBteryVtg;
    }
    
    public void setAvrgBteryVtg(BigDecimal avrgBteryVtg) {
        this.avrgBteryVtg = avrgBteryVtg;
    }
    
    public String getHighestTeptBoxno() {
        return this.highestTeptBoxno;
    }
    
    public void setHighestTeptBoxno(String highestTeptBoxno) {
        this.highestTeptBoxno = highestTeptBoxno;
    }
    
    public String getHighestTeptInboxLo() {
        return this.highestTeptInboxLo;
    }
    
    public void setHighestTeptInboxLo(String highestTeptInboxLo) {
        this.highestTeptInboxLo = highestTeptInboxLo;
    }
    
    public BigDecimal getHighestTept() {
        return this.highestTept;
    }
    
    public void setHighestTept(BigDecimal highestTept) {
        this.highestTept = highestTept;
    }
    
    public String getLowestTeptBoxno() {
        return this.lowestTeptBoxno;
    }
    
    public void setLowestTeptBoxno(String lowestTeptBoxno) {
        this.lowestTeptBoxno = lowestTeptBoxno;
    }
    
    public String getLowestTeptInboxLo() {
        return this.lowestTeptInboxLo;
    }
    
    public void setLowestTeptInboxLo(String lowestTeptInboxLo) {
        this.lowestTeptInboxLo = lowestTeptInboxLo;
    }
    
    public BigDecimal getLowestTept() {
        return this.lowestTept;
    }
    
    public void setLowestTept(BigDecimal lowestTept) {
        this.lowestTept = lowestTept;
    }
    
    public BigDecimal getAvrgBteryTept() {
        return this.avrgBteryTept;
    }
    
    public void setAvrgBteryTept(BigDecimal avrgBteryTept) {
        this.avrgBteryTept = avrgBteryTept;
    }
    
    public BigDecimal getReservedField1() {
        return this.reservedField1;
    }
    
    public void setReservedField1(BigDecimal reservedField1) {
        this.reservedField1 = reservedField1;
    }
    
    public BigDecimal getReservedField2() {
        return this.reservedField2;
    }
    
    public void setReservedField2(BigDecimal reservedField2) {
        this.reservedField2 = reservedField2;
    }
    
    public BigDecimal getReservedField3() {
        return this.reservedField3;
    }
    
    public void setReservedField3(BigDecimal reservedField3) {
        this.reservedField3 = reservedField3;
    }
    
    public BigDecimal getReservedField4() {
        return this.reservedField4;
    }
    
    public void setReservedField4(BigDecimal reservedField4) {
        this.reservedField4 = reservedField4;
    }
    
    public String getReservedField5() {
        return this.reservedField5;
    }
    
    public void setReservedField5(String reservedField5) {
        this.reservedField5 = reservedField5;
    }
    
    public String getReservedField6() {
        return this.reservedField6;
    }
    
    public void setReservedField6(String reservedField6) {
        this.reservedField6 = reservedField6;
    }
    
    public String getReservedField7() {
        return this.reservedField7;
    }
    
    public void setReservedField7(String reservedField7) {
        this.reservedField7 = reservedField7;
    }
    
    public String getReservedField8() {
        return this.reservedField8;
    }
    
    public void setReservedField8(String reservedField8) {
        this.reservedField8 = reservedField8;
    }
    
    public BigDecimal getSpdOfMotVhi() {
        return spdOfMotVhi;
    }
    
    public void setSpdOfMotVhi(BigDecimal spdOfMotVhi) {
        this.spdOfMotVhi = spdOfMotVhi;
    }

    public String getIgniSwtc() {
        return igniSwtc;
    }

    public void setIgniSwtc(String igniSwtc) {
        this.igniSwtc = igniSwtc;
    }
    
}
